﻿using System;
using System.Collections.Generic;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    /// <summary>
    /// 托盘
    /// </summary>
    public partial class TPallet
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 托盘条码
        /// </summary>
        public string PalletBarcode { get; set; } = null!;
        /// <summary>
        /// 托盘名称
        /// </summary>
        public string? PalletName { get; set; }
        /// <summary>
        /// 所在货位
        /// </summary>
        public string? LocationCode { get; set; }
        /// <summary>
        /// 状态：0-禁用；1-启用
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 启用时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// 托盘或箱子所在的区和仓位里面的区是一个东西 根据这个区去分配仓位
        /// </summary>
        public string LogicalPartCode { get; set; }

        public int DisplayOrder { get; set; }
        public int Opprint { get; set; }

        /// <summary>
        /// 打印次数
        /// </summary>
        public int PrintTimes { get; set; }
        public string? LocationName { get; set; }
        public string? ErplocationName { get; set; }
        /// <summary>
        /// 0:托盘 1:大箱子 2:小箱子
        /// </summary>
        public int? Type { get; set; }
        public int? WarehouseId { get; set; }
        public string? WarehouseCode { get; set; }
        public string? WarehouseName { get; set; }
    }
}
